package com.example.day03.dao;

import com.example.day03.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentMapper {
    List<Student> findAll();

    void add(Student student);

    Student findById(Integer id);

    void update(Student student);

    void delete(Integer id);
}
